package eg.com.itiga.repository.base;

import java.util.List;
import eg.com.itiga.repository.exception.DataException;

public interface BaseDao 
{
	void delete(Object obj) throws DataException ;
	List findAll(Class className) throws DataException ;
	void saveOrUpdate(Object obj) throws DataException ;	
	Object find(Class clazz,Integer id) throws DataException;
	
	public void beginTransaction();
	public void commit();
	public void rollback();
}